//
//  ZHFPhotoDetailCell.m
//  GoTraveling
//
//  Created by dllo on 15/12/23.
//  Copyright © 2015年 开发华佗. All rights reserved.
//

#import "ZHFPhotoDetailCell.h"

#import "ZHFTravelDetailView.h"

@interface ZHFPhotoDetailCell ()

@property (nonatomic,strong) ZHFTravelDetailView *travelDV;


@end

@implementation ZHFPhotoDetailCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubView];
    }
    return self;
}

- (void)createSubView {
    
    self.travelDV = [[ZHFTravelDetailView alloc] initWithFrame:self.contentView.frame];
    [self.contentView addSubview:self.travelDV];
}

- (void)setImage_url:(NSString *)image_url {
    
    self.travelDV.photo = image_url;
}


@end
